package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.SangerHskzeq;
import com.zhijian.medical.entity.vo.request.SangerHskzeqSearchVo;
import com.zhijian.medical.entity.vo.response.SangerHskzeqVo;

import java.util.List;

public interface SangerHskzeqMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SangerHskzeq record);

    int insertSelective(SangerHskzeq record);

    SangerHskzeq selectByPrimaryKey(Long id);

    /**
     * 根据实验id查询
     *
     * @param sangerId
     * @return
     */
    SangerHskzeq selectBySangerId(Long sangerId);

    int updateByPrimaryKeySelective(SangerHskzeq record);

    int updateByPrimaryKey(SangerHskzeq record);

    int count(SangerHskzeqSearchVo sangerHskzeqSearchVo);

    List<SangerHskzeqVo> selectList(SangerHskzeqSearchVo sangerHskzeqSearchVo);

    SangerHskzeqVo selectVoById(Long id);

    /**
     * 根据实验id查询vo
     *
     * @param sangerId
     * @return
     */
    SangerHskzeqVo selectVoBySangerId(Long sangerId);
}